<template>
    <div id="box">
        <div class="head"><Nav/></div>
        <div class="conment" style="height:100%">
            <div class="cont-left"><leftnav/></div>
            <div class="cont-right">
                <router-view></router-view>
            </div>
        </div>
    </div>
</template>

<script>
import Nav from './Nav.vue';
import Leftnav from './LeftNav.vue';
export default {
    data(){
        return {

        }
    },
    components:{
        Nav,Leftnav
    }
}
</script>

<style scoped>
    #box{
        height: 100%;
    }
    #box .head{
        position: fixed;
        top: 0;left: 0;
        width: 100%;
        height: 76px;
        z-index: 999;
    }
    #box .conment .cont-left{
        position: fixed;
        top: 0;left: 0;
        z-index: 998;
        margin-top:60px; 
        width: 240px;
        height: 100%;
    }
    #box .conment .cont-right{
        flex: 1;
        padding-left:240px;
        padding-top:76px; 
        min-height: 500px; 
        box-sizing: border-box;
    }
</style>